home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000092_news@columbia.edu _Wed Jan 19 18:26:22 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA04036
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 19 Jan 2000 18:26:22 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA03335
for kermit.misc@watsun.cc.columbia.edu; Wed, 19 Jan 2000 18:16:40 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: gerlach@netcom.com (Matthew H. Gerlach)
Subject: Re: strange behavior of ckermit7 on solaris2.5.1
Date: 19 Jan 2000 23:11:09 GMT
Organization: NETCOM / MindSpring Enterprises, Inc.
Message-ID: <865gad$d56$1@nntp2.atl.mindspring.net>
To: kermit.misc@columbia.edu
I don't claim to be an expert at this, but looking at the man pages
on my Solaris box, the res_search() function essentially calls the
DNS stuff directly. The function, gethostbyname(), is a more appropriate
higher level function. gethostbyname() will get the info based
on the "hosts" entry in /etc/nsswitch.conf. This entry allows one to
specify, files, nis, nisplus, and/or dns to resolve names.
It would be interesting for the original poster to show us their
/etc/nsswitch.conf file to confirm or deny my theory to the problem.
Matthew
In article <865buj$s5e$1@newsmaster.cc.columbia.edu>,
Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote:
>In article <8658gj$bjt$1@nntp9.atl.mindspring.net>,
>Matthew H. Gerlach <gerlach@netcom.com> wrote:
>:
>: Depending on the Solaris environment, the machines may not have been
>: installed with DNS at all. They maybe using NIS+ for all name resolution,
>: and the NIS+ server would be the only one with the DNS libararyies installed.
>:
>: Matthew
>
>IN those environments how does an applicationperform the equivalent
>of the res_search() resolv library call?
>
>In the meantime, C-Kermit 7.0 can be compiled with -DNO_DNS_SRV to
>avoid the calls to res_search().
>
>
> Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
> The Kermit Project * Columbia University
> 612 West 115th St #716 * New York, NY * 10025
> http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org